export const tableComponentConfig = {};
// 当前表格要渲染哪些值
export const tableRenderKeys = [
  'index',
  'secretLevel',
  'materialCode',
  'materialName',
  'figureNumber',
  'materialTypeName',
  'modelMark',
  'parentModel',
  'specification',
  'categoryLv1',
  'categoryLv2',
  'categoryLv3',
  'checkTypeDescription',
  'performanceDescription',
  'measurementMarkName',
  'materialBroadHeadingCode',
  'materialBroadHeadingName',
  'orderingPolicyName',
  'procurementPreparationCycle',
  'purchaseLeadTime',
  'safetyLeadTime',
  'inspectionCycle',
  'arrivalReceivingCycle',
  'batch',
  'minOrderQuantity',
  'maxPurchaseVolume',
  'orderPoint',
  'blankingRate',
  'inspectionConsumptionRate',
  'batchPolicyName',
  'checkTypeName',
  'isPhysicochemicalExperimentName',
  'isNondestructiveTestingName',
  'quotientSelectionStrategyName',
  'supplierCode',
  'supplierName',
  'itemCode',
  'parentItemCode',
  'itemCodeSource',
  'itemCodeCarriesUnitCode',
  'isBatchMaterialName',
  'isContainsSensitiveInformationName',
  'materialNote',
  'updater',
  'createTime',
  'updateTime',
  'optional',
];
// 列表值
export const tableRenderConfig = {
  secretLevel: {
    title: '密级',
    dataIndex: 'secretLevel',
    componentName: 'secretLevel',
    width: 80,
  },
  materialCode: {
    title: '物料编码',
    dataIndex: 'materialCode',
    width: 120,
  },
  materialName: {
    title: '物料名称',
    dataIndex: 'materialName',
    width: 120,
  },
  figureNumber: {
    title: '图号',
    dataIndex: 'figureNumber',
    width: 120,
  },
  materialTypeName: {
    title: '物料类型',
    dataIndex: 'materialTypeName',
    width: 120,
  },
  modelMark: {
    title: '型号/牌号',
    dataIndex: 'modelMark',
    width: 120,
  },
  parentModel: {
    title: '父型号',
    dataIndex: 'parentModel',
    width: 120,
  },
  specification: {
    title: '规格',
    dataIndex: 'specification',
    width: 120,
  },
  categoryLv1: {
    title: '一级品类',
    dataIndex: 'categoryLv1',
    width: 120,
  },
  categoryLv2: {
    title: '二级品类',
    dataIndex: 'categoryLv2',
    width: 120,
  },
  categoryLv3: {
    title: '三级品类',
    dataIndex: 'categoryLv3',
    width: 120,
  },
  checkTypeDescription: {
    title: '检验类型描述',
    dataIndex: 'checkTypeDescription',
    width: 150,
  },
  performanceDescription: {
    title: '性能描述',
    dataIndex: 'performanceDescription',
    width: 120,
  },
  measurementMarkName: {
    title: '计量标志',
    dataIndex: 'measurementMarkName',
    width: 120,
  },
  materialBroadHeadingCode: {
    title: '物料大类编码',
    dataIndex: 'materialBroadHeadingCode',
    width: 120,
  },
  materialBroadHeadingName: {
    title: '物料大类',
    dataIndex: 'materialBroadHeadingName',
    width: 120,
  },
  orderingPolicyName: {
    title: '订货策略',
    dataIndex: 'orderingPolicyName',
    width: 120,
  },
  procurementPreparationCycle: {
    title: '采购准备周期',
    dataIndex: 'procurementPreparationCycle',
    width: 120,
  },
  purchaseLeadTime: {
    title: '采购提前期',
    dataIndex: 'purchaseLeadTime',
    width: 120,
  },
  safetyLeadTime: {
    title: '安全提前期',
    dataIndex: 'safetyLeadTime',
    width: 120,
  },
  inspectionCycle: {
    title: '检验周期',
    dataIndex: 'inspectionCycle',
    width: 120,
  },
  arrivalReceivingCycle: {
    title: '到货接收周期',
    dataIndex: 'arrivalReceivingCycle',
    width: 120,
  },
  batch: {
    title: '批量',
    dataIndex: 'batch',
    width: 120,
  },
  minOrderQuantity: {
    title: '最小订货量',
    dataIndex: 'minOrderQuantity',
    width: 120,
  },
  maxPurchaseVolume: {
    title: '最大采购批量',
    dataIndex: 'maxPurchaseVolume',
    width: 120,
  },
  orderPoint: {
    title: '订货点',
    dataIndex: 'orderPoint',
    width: 120,
  },
  blankingRate: {
    title: '下料利用率（%）',
    dataIndex: 'blankingRate',
    width: 150,
  },
  inspectionConsumptionRate: {
    title: '检验消耗率（%） ',
    dataIndex: 'inspectionConsumptionRate',
    width: 150,
  },
  batchPolicyName: {
    title: '批量方针',
    dataIndex: 'batchPolicyName',
    width: 120,
  },
  checkTypeName: {
    title: '检验类型',
    dataIndex: 'checkTypeName',
    width: 120,
  },
  isPhysicochemicalExperimentName: {
    title: '是否理化试验',
    dataIndex: 'isPhysicochemicalExperimentName',
    width: 120,
  },
  isNondestructiveTestingName: {
    title: '是否无损检测',
    dataIndex: 'isNondestructiveTestingName',
    width: 120,
  },
  quotientSelectionStrategyName: {
    title: '选商策略',
    dataIndex: 'quotientSelectionStrategyName',
    width: 120,
  },
  supplierCode: {
    title: '供应商编码',
    dataIndex: 'supplierCode',
    width: 120,
  },
  supplierName: {
    title: '供应商名称',
    dataIndex: 'supplierName',
    width: 120,
  },
  itemCode: {
    title: '物品码',
    dataIndex: 'itemCode',
    width: 120,
  },
  parentItemCode: {
    title: '父物品码',
    dataIndex: 'parentItemCode',
    width: 120,
  },
  itemCodeSource: {
    title: '物品码来源',
    dataIndex: 'itemCodeSource',
    width: 120,
  },
  itemCodeCarriesUnitCode: {
    title: '物品码承制单位代码',
    dataIndex: 'itemCodeCarriesUnitCode',
    width: 170,
  },
  isBatchMaterialName: {
    title: '是否批料',
    dataIndex: 'isBatchMaterialName',
    width: 120,
  },
  isContainsSensitiveInformationName: {
    title: '是否包含敏感信息',
    dataIndex: 'isContainsSensitiveInformationName',
    width: 170,
  },
  materialNote: {
    title: '物资备注',
    dataIndex: 'materialNote',
    width: 120,
  },
  updater: {
    title: '最后修改人',
    dataIndex: 'updater',
    width: 120,
  },
  createTime: {
    title: '创建时间',
    dataIndex: 'createTime',
    width: 120,
  },
  updateTime: {
    title: '最后修改时间',
    dataIndex: 'updateTime',
    width: 120,
  },

  optional: {
    title: '操作',
    dataIndex: 'optional',
    slotName: 'optional',
    fixed: 'right',
    width: 120,
  },
};
